import {ElFormItem} from "element-plus"
export const renderLabel = ({ label, labelWidth, VNode }: {
  label?: string; labelWidth?: string | number,VNode:JSX.Element
}) => label ? <ElFormItem label={label} labelWidth={labelWidth || "4rem"} >
    {VNode}
</ElFormItem> :VNode